package org.ch00.test04;

/**
 * @author ZJL
 * @date 2025-03-03
 */
public class DotNetTeacher {
    private String name;
    private String school;

    public DotNetTeacher() {
    }

    public DotNetTeacher(String name, String school) {
        this.name = name;
        this.school = school;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }
    public void teach() {
        System.out.println("打开Visual Studio....");
    }

}
